package com.alarm.ecp.pojo;

import java.util.Date;

// 告警消息类
public class FenceAlarm {
    /**
     * 设备 和 围栏的绑定关系 的配置ID
     */
    String alarmConfigld;
    /**
     * 报警内容
     */
    String alarmlnfo;
    /**
     * 创建时间
     */
    Date createTime;
    /**
     * 围栏ID
     */
    String fenceld;
    /**
     * 围栏名称
     */
    String fenceName;
    /**
     * 围栏类型
     */
    String fenceType;
    /**
     * 设备ID
     */
    String loginld;
    /**
     * 报警时间
     */
    Date reportTime;
    /**
     * 设备ID
     */
    String serialNo;
    /**
     * 设备和 围栏的绑定关系的 配置人 信息
     */
    String userName;


    public FenceAlarm(String alarmConfigld, String alarmlnfo, Date createTime, String fenceld, String fenceName, String fenceType, String loginld, Date reportTime, String serialNo, String userName) {
        this.alarmConfigld = alarmConfigld;
        this.alarmlnfo = alarmlnfo;
        this.createTime = createTime;
        this.fenceld = fenceld;
        this.fenceName = fenceName;
        this.fenceType = fenceType;
        this.loginld = loginld;
        this.reportTime = reportTime;
        this.serialNo = serialNo;
        this.userName = userName;
    }

    public String getAlarmConfigld() {
        return alarmConfigld;
    }

    public void setAlarmConfigld(String alarmConfigld) {
        this.alarmConfigld = alarmConfigld;
    }

    public String getAlarmlnfo() {
        return alarmlnfo;
    }

    public void setAlarmlnfo(String alarmlnfo) {
        this.alarmlnfo = alarmlnfo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getFenceld() {
        return fenceld;
    }

    public void setFenceld(String fenceld) {
        this.fenceld = fenceld;
    }

    public String getFenceName() {
        return fenceName;
    }

    public void setFenceName(String fenceName) {
        this.fenceName = fenceName;
    }

    public String getFenceType() {
        return fenceType;
    }

    public void setFenceType(String fenceType) {
        this.fenceType = fenceType;
    }

    public String getLoginld() {
        return loginld;
    }

    public void setLoginld(String loginld) {
        this.loginld = loginld;
    }

    public Date getReportTime() {
        return reportTime;
    }

    public void setReportTime(Date reportTime) {
        this.reportTime = reportTime;
    }

    public String getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return "FenceAlarm{" +
                "alarmConfigld='" + alarmConfigld + '\'' +
                ", alarmlnfo='" + alarmlnfo + '\'' +
                ", createTime=" + createTime +
                ", fenceld='" + fenceld + '\'' +
                ", fenceName='" + fenceName + '\'' +
                ", fenceType='" + fenceType + '\'' +
                ", loginld='" + loginld + '\'' +
                ", reportTime=" + reportTime +
                ", serialNo='" + serialNo + '\'' +
                ", userName='" + userName + '\'' +
                '}';
    }
}
